﻿using Shop.Model.AdvertPlace;
using Shop.Model.DB;
using Shop.RemoteModel;
using Shop.RemoteModel.AdvertPlace.Model;
using WeDonekRpc.Model;

namespace Shop.Repository
{
    public interface IAdvertPlaceRepository : IShopBaseRepository<DBAdvertPlace, long>
    {
        Result[] Query<Result> ( AdvertPlaceQueryParam query, IBasicPage paging, out int count ) where Result : class;
        Result[] Gets<Result> ( AdvertPlaceGetParam query ) where Result : class, new();
        long Add ( PlaceAdd add );
        void SetStatus ( DBAdvertPlace place, AdvertPlaceStatus status );
    }
}